package com.hotel.project.demo.dao.hotel;

import com.hotel.project.demo.dao.ICurdDao;
import com.hotel.project.demo.domain.HotelPictureEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface HotelPictureDao extends ICurdDao<HotelPictureEntity> {
    /**
     * 按类型或id删除图片
     * @param id
     * @param title
     * @return
     */
    boolean deleteHotelPicturesByIdOrTitle(Long id,String title);
}
